﻿@{
    Layout = null;
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <style type="text/css">
        body
        {
            margin: 0;
        }
    </style>

    <script type="text/javascript">
        var m_l = true;
        var m_t = true;
        function getStr(tempArr) {
            var str = "";
            for (var i = 0; i < tempArr.length; i++) {
                str += (tempArr[i] + "/");
            }
            if (str.length > 0)
                str = str.substring(0, str.length - 1);
            return str;
        }
        function switchRightBar() {
            var imgurl = switchPoint.src;
            var imgurla = imgurl.split("/");
            if (imgurla[imgurla.length - 1] == "left.gif") {
                if (m_l) {
                    imgurla[imgurla.length - 1] = "left_on.gif";
                    switchPoint.src = getStr(imgurla);
                    parent.document.getElementById("b").style.display = "none";
                    m_l = false;
                }
            }
            else {
                if (!m_l) {
                    imgurla[imgurla.length - 1] = "left.gif";
                    switchPoint.src = getStr(imgurla);
                    parent.document.getElementById("b").style.display = "block";
                    m_l = true;

                }
            }
        }

    </script>

</head>
<body>
    <table width="7" border="0" cellspacing="0" cellpadding="0" style="height: 100%">
        <tr>
            <td height="100%" bgcolor="#e3e3e3" valign="middle" align="center">
                <span onmousemove="this.style.cursor='pointer'" onclick="switchRightBar()">
                    <img id="switchPoint" src="@Url.Content("~/Content/images/Admin/left.gif")" border="0" alt="导航显示切换" />
                </span></td>
        </tr>
    </table>
</body>
</html> 